
const state ={
    sideBarOpened:false
}

const mutations = {
    toggleSideBars(state){
        state.sideBarOpened = !state.sideBarOpened
    }
}

const actions =  {
    toggleSideBar({ commit }){
        console.log("66-333")
        commit('toggleSideBars')
    }
}
export default {
    namespaced: true,
    state,
    mutations,
    actions
}
